import java.util.Scanner;

public class L24 {
    public static void main(String[] args) {
        Scanner scl = new Scanner(System.in);
        System.out.println("请输入员工姓名");
        String name =scl.next();
        System.out.println("请输入员工应聘部门");
        String bm = scl.next();
        switch (bm){
            case "Java":
                System.out.println(name+"被分配的Java开发部门");
                break;
            case "C++":
                System.out.println(name+"被分配的C++开发部门");
                break;
            case "HTML":
                System.out.println(name+"被分配到前端开发部门");
                break;
            default:
                System.out.println("抱歉本公司不需要"+bm+"语言的员工");
                break;
        }
    }
}
